<?php
include_once 'modeles/Utilitaire.php';

class CtopLocation{

	public function CtopLocation(){
		include 'modeles/TopLocation.php';
		$topLocation=new TopLocation();
		$films=$topLocation->listeTopLocation();
		$nbFilms=count($films);
		$nbFilmParPage=Utilitaire::configuration('nbFilmParPage');
		$nbPages=ceil($nbFilms/$nbFilmParPage);
		include 'vues/Vfilms.php';
	}
}
?>